Type Refinements for Equation-Based Languages

نویسنده

  • John Capper
چکیده

Describing a problem in terms of a system of equations is common to many branches of science and engineering. Due to their size and complexity, constructing and solving such systems often warrants the use of computers. A class of equation-based languages has grown out of the desire to describe equation systems using the wellunderstood and mature techniques from conventional programming language theory. Just as with many conventional programming language, the correctness of equation-based programs can be, to at least some degree, mechanically verified by ensuring certain simple invariants are upheld. The existence of certain structural properties related to solvability are of particular interest. In this report we present a preliminary investigation into the role types can play in equation-based languages. We also discuss ongoing work into a novel refinement type system that is able to capture a number of simple structural properties that might be indicative of problems in a modular system of equations.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Type Refinements in an Open World (Extended Abstract)

A refinement is a predicate on the elements of a type that describes their execution behavior. Much work has gone into developing refinements in a closed world, in which the classes of values of a type are fixed statically, as in the case of the natural numbers with zero and succ. Relatively little work has gone into developing refinements in an open world in which new classes may be added dyna...

متن کامل

Type Refinements in an Open World ( Extended

A refinement is a predicate on the elements of a type that describes their execution behavior. Much work has gone into developing refinements in a closed world, in which the classes of values of a type are fixed statically, as in the case of the natural numbers with zero and succ. Relatively little work has gone into developing refinements in an open world in which new classes may be added dyna...

متن کامل

A note on the Young type inequalities

In this   paper,  we   present  some  refinements  of the   famous Young  type  inequality.   As  application  of   our   result, we  obtain  some  matrix inequalities   for   the  Hilbert-Schmidt norm  and   the  trace   norm. The results    obtained   in  this  paper  can  be   viewed   as  refinement  of  the   derived  results   by  H.  Kai  [Young  type  inequalities  for matrices,  J.  Ea...

متن کامل

Type Refinements for Compiler Correctness

Type refinements, introduced by Freeman and Pfenning and explored by Davies and Dunfield, unify the ontological and epistemic views of typing. Types tell us what programming language constructs exist, whereas refinements express properties of the values of a type. Here we show that refinements are very useful in compiler correctness proofs, wherein it often arises that two expressions that are ...

متن کامل

When Is a Type Refinement an Inductive Type?

Dependently typed programming languages allow sophisticated properties of data to be expressed within the type system. Of par-ticular use in dependently typed programming are indexed types that refine data by computationally useful information. For example, the Nindexed type of vectors refines lists by their lengths. Other data types may be refined in similar ways, but programmers must produce ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011